Get duplex option via IPP
authorMarek Kasik <mkasik@redhat.com>
Fri, 10 Oct 2014 11:36:30 +0000 (13:36 +0200)
committerMarek Kasik <mkasik@redhat.com>
Mon, 13 Oct 2014 09:58:18 +0000 (11:58 +0200)
commit493aa4e9b3b7ef673a3f0a7b49a6416e9ad8c5c2
tree702ec5f6b0794de4378ebad913ec1d365c3e3917
parentea21c4563b8b9d977722436a9b43657435e6c5e8
Get duplex option via IPP

Request "sides-supported" and "sides-default" attributes through
IPP if there is no PPD for selected printer.
Pass "sides" option with other options in printer_get_options().
Add function setup_ipp_option() for creating of IPP option
of given name with passed choices and default value.
Mark such an option as "is-ipp-option" so we can distinguish it
later.

https://bugzilla.gnome.org/show_bug.cgi?id=725441
modules/printbackends/cups/gtkprintbackendcups.c
modules/printbackends/cups/gtkprintercups.c
modules/printbackends/cups/gtkprintercups.h